
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/suoGuHengDong.svg';
import {$homePageSvgComponentPropsInterface} from "../../interface";
import HomePage_SvgComponent from ".";

// 主页-索古横洞svg组件

const HomePage_SuoGuHengDongSvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 2660
    const height = 1360
    const cardList = [
        {
            name: "高压母线",
            top: 35,
            left: 291,
            key: "",
        },
        {
            name: "低压母线-左",
            top: 145,
            left: 31,
            key: "",
        },
        {
            name: "变压器1-左",
            top: 92,
            left: 404,
            key: "",
        },
        {
            name: "变压器1-右",
            top: 148,
            left: 906,
            key: "",
        },
        {
            name: "主供电源进线",
            top: 148,
            left: 1033,
            key: "",
        },
        {
            name: "备用电源进线",
            top: 148,
            left: 1166,
            key: "",
        },
        {
            name: "计量柜",
            top: 148,
            left: 1338,
            key: "",
        },
        {
            name: "PT柜",
            top: 148,
            left: 1471,
            key: "",
        },
        {
            name: "横洞变电所主供",
            top: 148,
            left: 1601,
            key: "",
        },
        {
            name: "进口变电所备用",
            top: 148,
            left: 1720,
            key: "",
        },
        {
            name: "变压器2",
            top: 92,
            left: 2218,
            key: "",
        },
        {
            name: "低压母线-右",
            top: 145,
            left: 2513,
            key: "",
        },
        {
            name: "左洞基本照明1-1-左",
            top: 269,
            left: 100,
            key: "",
        },
        {
            name: "左洞基本照明2-1-左",
            top: 269,
            left: 219,
            key: "",
        },
        {
            name: "左洞基本照明3-1-左",
            top: 269,
            left: 338,
            key: "",
        },
        {
            name: "左洞基本照明4-1-左",
            top: 269,
            left: 457,
            key: "",
        }, {
            name: "左洞基本照明5-1-左",
            top: 269,
            left: 576,
            key: "",
        },
        {
            name: "左洞基本照明6-1-左",
            top: 269,
            left: 695,
            key: "",
        },
        {
            name: "左洞基本照明7-1-左",
            top: 269,
            left: 814,
            key: "",
        },
        {
            name: "备用1-1-左",
            top: 269,
            left: 933,
            key: "",
        },
        {
            name: "左洞中间景观照明带",
            top: 269,
            left: 1052,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 269,
            left: 1171,
            key: "",
        },
        {
            name: "母联柜",
            top: 269,
            left: 1364,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 269,
            left: 1480,
            key: "",
        },
        {
            name: "通风风机1",
            top: 269,
            left: 1598,
            key: "",
        },
        {
            name: "通风风机2",
            top: 269,
            left: 1716,
            key: "",
        },
        {
            name: "通风风机3",
            top: 269,
            left: 1834,
            key: "",
        },
        {
            name: "排烟风机1",
            top: 269,
            left: 1952,
            key: "",
        },
        {
            name: "排烟风机2",
            top: 269,
            left: 2070,
            key: "",
        },
        {
            name: "排烟风机3",
            top: 269,
            left: 2188,
            key: "",
        },
        {
            name: "备用1-1-右",
            top: 269,
            left: 2306,
            key: "",
        },
        {
            name: "备用2-1-右",
            top: 269,
            left: 2424,
            key: "",
        },
        {
            name: "备用3-1-右",
            top: 269,
            left: 2542,
            key: "",
        },
        {
            name: "左洞基本照明1-2-左",
            top: 494,
            left: 100,
            key: "",
        },
        {
            name: "左洞基本照明2-2-左",
            top: 494,
            left: 218,
            key: "",
        },
        {
            name: "左洞基本照明3-2-左",
            top: 494,
            left: 336,
            key: "",
        },
        {
            name: "左洞基本照明4-2-左",
            top: 494,
            left: 454,
            key: "",
        },
        {
            name: "左洞基本照明5-2-左",
            top: 494,
            left: 572,
            key: "",
        },
        {
            name: "左洞基本照明6-2-左",
            top: 494,
            left: 690,
            key: "",
        },
        {
            name: "左洞基本照明7-2-左",
            top: 494,
            left: 808,
            key: "",
        },
        {
            name: "备用1-2-左",
            top: 494,
            left: 926,
            key: "",
        },
        {
            name: "右洞中间景观照明带",
            top: 494,
            left: 1044,
            key: "",
        },
        {
            name: "右洞基本照明1-3-左",
            top: 709,
            left: 110,
            key: "",
        },
        {
            name: "右洞基本照明2-3-左",
            top: 709,
            left: 228,
            key: "",
        },
        {
            name: "右洞基本照明3-3-左",
            top: 709,
            left: 346,
            key: "",
        },
        {
            name: "右洞基本照明4-3-左",
            top: 709,
            left: 464,
            key: "",
        },
        {
            name: "右洞基本照明5-3-左",
            top: 709,
            left: 582,
            key: "",
        },
        {
            name: "右洞基本照明6-3-左",
            top: 709,
            left: 700,
            key: "",
        },
        {
            name: "右洞基本照明7-3-左",
            top: 709,
            left: 818,
            key: "",
        },
        {
            name: "备用1-3-左",
            top: 709,
            left: 936,
            key: "",
        },
        {
            name: "备用2-3-左",
            top: 709,
            left: 1054,
            key: "",
        },
        {
            name: "左洞应急照明1-3-右",
            top: 709,
            left: 1439,
            key: "",
        },
        {
            name: "左洞应急照明2-3-右",
            top: 709,
            left: 1557,
            key: "",
        },
        {
            name: "左洞应急照明3-3-右",
            top: 709,
            left: 1675,
            key: "",
        },
        {
            name: "左洞应急照明4-3-右",
            top: 709,
            left: 1793,
            key: "",
        },
        {
            name: "左洞应急照明5-3-右",
            top: 709,
            left: 1911,
            key: "",
        },
        {
            name: "左洞应急照明6-3-右",
            top: 709,
            left: 2029,
            key: "",
        },
        {
            name: "左洞应急照明6-3-右",
            top: 709,
            left: 2147,
            key: "",
        },
        {
            name: "备用1-3-右",
            top: 709,
            left: 2265,
            key: "",
        },
        {
            name: "备用2-3-右",
            top: 709,
            left: 2383,
            key: "",
        },
        {
            name: "备用3-3-右",
            top: 709,
            left: 2501,
            key: "",
        },
        {
            name: "右洞基本照明1-4-左",
            top: 934,
            left: 110,
            key: "",
        },
        {
            name: "右洞基本照明2-4-左",
            top: 934,
            left: 228,
            key: "",
        },
        {
            name: "右洞基本照明3-4-左",
            top: 934,
            left: 346,
            key: "",
        },
        {
            name: "右洞基本照明4-4-左",
            top: 934,
            left: 464,
            key: "",
        },
        {
            name: "右洞基本照明5-4-左",
            top: 934,
            left: 582,
            key: "",
        },
        {
            name: "右洞基本照明6-4-左",
            top: 934,
            left: 700,
            key: "",
        },
        {
            name: "右洞基本照明7-4-左",
            top: 934,
            left: 818,
            key: "",
        },
        {
            name: "备用1-4-左",
            top: 934,
            left: 936,
            key: "",
        },
        {
            name: "备用2-4-左",
            top: 934,
            left: 1054,
            key: "",
        },
        {
            name: "左洞应急照明1-4-右",
            top: 934,
            left: 1439,
            key: "",
        },
        {
            name: "左洞应急照明2-4-右",
            top: 934,
            left: 1557,
            key: "",
        },
        {
            name: "左洞应急照明3-4-右",
            top: 934,
            left: 1675,
            key: "",
        },
        {
            name: "左洞应急照明4-4-右",
            top: 934,
            left: 1793,
            key: "",
        },
        {
            name: "左洞应急照明5-4-右",
            top: 934,
            left: 1911,
            key: "",
        },
        {
            name: "左洞应急照明6-4-右",
            top: 934,
            left: 2029,
            key: "",
        },
        {
            name: "备用1-4-右",
            top: 934,
            left: 2147,
            key: "",
        },
        {
            name: "备用2-4-右",
            top: 934,
            left: 2265,
            key: "",
        },
        {
            name: "备用3-4-右",
            top: 934,
            left: 2383,
            key: "",
        },
        {
            name: "备用4-4-右",
            top: 934,
            left: 2501,
            key: "",
        },
        {
            name: "右洞基本照明1-5-左",
            top: 1154,
            left: 110,
            key: "",
        },
        {
            name: "右洞基本照明2-5-左",
            top: 1154,
            left: 228,
            key: "",
        },
        {
            name: "引道照明",
            top: 1154,
            left: 346,
            key: "",
        },
        {
            name: "消防（备）",
            top: 1154,
            left: 464,
            key: "",
        },
        {
            name: "UPS",
            top: 1154,
            left: 582,
            key: "",
        },
        {
            name: "变电所用电",
            top: 1154,
            left: 700,
            key: "",
        },
        {
            name: "左检修插座",
            top: 1154,
            left: 818,
            key: "",
        },
        {
            name: "右检修插座",
            top: 1154,
            left: 936,
            key: "",
        },
        {
            name: "EPS回路",
            top: 1154,
            left: 1054,
            key: "",
        },
        {
            name: "右洞应急照明",
            top: 1154,
            left: 1439,
            key: "",
        },
        {
            name: "备用1-5-右",
            top: 1154,
            left: 1557,
            key: "",
        },
        {
            name: "备用2-5-右",
            top: 1154,
            left: 1675,
            key: "",
        },
        {
            name: "备用3-5-右",
            top: 1154,
            left: 1793,
            key: "",
        },
        {
            name: "备用4-5-右",
            top: 1154,
            left: 1911,
            key: "",
        },
        {
            name: "备用5-5-右",
            top: 1154,
            left: 2029,
            key: "",
        },
        {
            name: "备用6-5-右",
            top: 1154,
            left: 2147,
            key: "",
        },
        {
            name: "备用7-5-右",
            top: 1154,
            left: 2265,
            key: "",
        },
        {
            name: "备用8-5-右",
            top: 1154,
            left: 2383,
            key: "",
        },
        {
            name: "备用9-5-右",
            top: 1154,
            left: 2501,
            key: "",
        },
    ]
 const rowGeneratrixList = ["高压母线", "低压母线-左", "低压母线-右"]
    const row14List = ["变压器1-左", "变压器2"]

    const dialogBoxList = [
        {
            name: "变压器1",
            top: 148,
            left: 545,
            key: "",
            direction: "Up"
        },
        {
            name: "主供电源进线",
            top: 70,
            left: 1017,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源进线",
            top: 148,
            left: 1147,
            key: "",
            direction: "Up"
        },
        {
            name: "变压器2",
            top: 148,
            left: 2153,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明1-1-左",
            top: 301,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-1-左",
            top: 378,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-1-左",
            top: 301,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明4-1-左",
            top: 378,
            left: 441,
            key: "",
            direction: "Up"
        }, {
            name: "左洞基本照明5-1-左",
            top: 301,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明6-1-左",
            top: 378,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明7-1-左",
            top: 301,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1-左",
            top: 378,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞中间景观照明带",
            top: 301,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 378,
            left: 1148,
            key: "",
            direction: "Up"
        },
        {
            name: "母联柜",
            top: 301,
            left: 1347,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 378,
            left: 1465,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机1",
            top: 301,
            left: 1583,
            key: "",
            direction: "Down"
        },
        {
            name: "通风风机2",
            top: 378,
            left: 1701,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机3",
            top: 301,
            left: 1819,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机1",
            top: 378,
            left: 1938,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机2",
            top: 301,
            left: 2056,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机3",
            top: 378,
            left: 2173,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-1-右",
            top: 301,
            left: 2291,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-1-右",
            top: 378,
            left: 2410,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-1-右",
            top: 301,
            left: 2528,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明1-2-左",
            top: 522,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-2-左",
            top: 599,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-2-左",
            top: 522,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明4-2-左",
            top: 599,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明5-2-左",
            top: 522,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明6-2-左",
            top: 599,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明7-2-左",
            top: 522,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-左",
            top: 599,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞中间景观照明带",
            top: 522,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-3-左",
            top: 743,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明2-3-左",
            top: 820,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明3-3-左",
            top: 743,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明4-3-左",
            top: 820,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明5-3-左",
            top: 743,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明6-3-左",
            top: 820,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明7-3-左",
            top: 743,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-3-左",
            top: 820,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-3-左",
            top: 743,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明1-3-右",
            top: 820,
            left: 1421,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明2-3-右",
            top: 743,
            left: 1540,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明3-3-右",
            top: 820,
            left: 1658,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明4-3-右",
            top: 743,
            left: 1776,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明5-3-右",
            top: 820,
            left: 1895,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明6-3-右",
            top: 743,
            left: 2012,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明6-3-右",
            top: 820,
            left: 2130,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-3-右",
            top: 743,
            left: 2248,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-3-右",
            top: 820,
            left: 2367,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-3-右",
            top: 743,
            left: 2484,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-4-左",
            top: 962,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明2-4-左",
            top: 1039,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明3-4-左",
            top: 962,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明4-4-左",
            top: 1039,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明5-4-左",
            top: 962,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明6-4-左",
            top: 1039,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明7-4-左",
            top: 962,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-4-左",
            top: 1039,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-4-左",
            top: 962,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明1-4-右",
            top: 1039,
            left: 1421,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明2-4-右",
            top: 962,
            left: 1540,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明3-4-右",
            top: 1039,
            left: 1658,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明4-4-右",
            top: 962,
            left: 1776,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明5-4-右",
            top: 1039,
            left: 1895,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明6-4-右",
            top: 962,
            left: 2012,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-4-右",
            top: 1039,
            left: 2130,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-4-右",
            top: 962,
            left: 2248,
            key: "",
            direction: "Down"
        },
        {
            name: "备用3-4-右",
            top: 1039,
            left: 2367,
            key: "",
            direction: "Up"
        },
        {
            name: "备用4-4-右",
            top: 962,
            left: 2484,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-5-左",
            top: 1185,
            left: 87,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明2-5-左",
            top: 1262,
            left: 204,
            key: "",
            direction: "Up"
        },
        {
            name: "引道照明",
            top: 1185,
            left: 323,
            key: "",
            direction: "Down"
        },
        {
            name: "消防（备）",
            top: 1262,
            left: 441,
            key: "",
            direction: "Up"
        },
        {
            name: "UPS",
            top: 1185,
            left: 559,
            key: "",
            direction: "Down"
        },
        {
            name: "变电所用电",
            top: 1262,
            left: 676,
            key: "",
            direction: "Up"
        },
        {
            name: "左检修插座",
            top: 1185,
            left: 795,
            key: "",
            direction: "Down"
        },
        {
            name: "右检修插座",
            top: 1262,
            left: 912,
            key: "",
            direction: "Up"
        },
        {
            name: "EPS回路",
            top: 1185,
            left: 1031,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明",
            top: 1262,
            left: 1421,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-5-右",
            top: 1185,
            left: 1540,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-5-右",
            top: 1262,
            left: 1658,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-5-右",
            top: 1185,
            left: 1776,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-5-右",
            top: 1262,
            left: 1895,
            key: "",
            direction: "Up"
        },
        {
            name: "备用5-5-右",
            top: 1185,
            left: 2012,
            key: "",
            direction: "Down"
        },
        {
            name: "备用6-5-右",
            top: 1262,
            left: 2130,
            key: "",
            direction: "Up"
        },
        {
            name: "备用7-5-右",
            top: 1185,
            left: 2248,
            key: "",
            direction: "Down"
        },
        {
            name: "备用8-5-右",
            top: 1262,
            left: 2367,
            key: "",
            direction: "Up"
        },
        {
            name: "备用9-5-右",
            top: 1185,
            left: 2484,
            key: "",
            direction: "Down"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_SuoGuHengDongSvgComponent
